package com.ocom.mqsubsidy.feign;


import com.ocom.common.constant.CompanyServiceUrl;
import com.ocom.common.dto.DockKeyDto;
import com.ocom.common.request.company.GetDockApiUrlRequest;
import com.ocom.common.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "company")
public interface CompanyClientService {

	@PostMapping(CompanyServiceUrl.Url_getDockKey)
	public Result getDockKey(@RequestBody DockKeyDto request);

	//6.17读取通讯接口URL（getDockApiUrl）
	@PostMapping(CompanyServiceUrl.URL_getDockApiUrl)
	public Result getDockApiUrl(@RequestBody GetDockApiUrlRequest request);

}
